package com.livestocksolutions.ui;

import com.livestocksolutions.R;
import com.livestocksolutions.intent.BaseActivity;

import android.view.View;
import android.view.ViewGroup;

/* -- Version History --
 *  1.0 : 01 August 2012 - Initial version.
 */

/**
 * A class to create the layout for the list of Medicines
 * @author Adam Parr
 * @version 1.0
 * 
 * @.modified 01 August 2012
 */
public class ListMedicineArrayAdapter extends ListChemicineArrayAdapter {
	/**
	 * Constructor
	 * @param context The current context.
	 * @param values The Medicines to represent in the ListView.
	 */
	public ListMedicineArrayAdapter(BaseActivity context, String[][] values) {
		super(context, values);
	}
	
	@Override
	public View getView(int position, View convertView, ViewGroup parent) {
		setView(R.layout.list_item_medicine);
		View rowView = super.getView(position,convertView,parent);
		return rowView;
	}
}
